package iPaint;

public class Slide {

	String node1;
	String node2;
	String code;

	public Slide(Node tNode1, Node tNode2) {
		node1 = tNode1.getName();
		node2 = tNode2.getName();
	}

	public String genCode(int z) {
		code = "graph.addEdge( " + node1 +
				", " + node2 +
				");" + "\n" +
				"graph.getSubGraph().get(" +
				Integer.toString(z-1) +
				").addEdge(" +
				"," +
				")";

		return code;
	}
}
